<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<li>1</li>
		<li>2</li>
		<li>3</li>
		<li>4</li>
		<li>5</li>
	</body>
</html>
<script type="text/javascript">
	let lis = document.querySelectorAll('li');
	console.log(lis);
	console.log(lis.push); // undefinded说明lis不是数组，类数组
	// list.push('aaa');
	// Array.from作用是可以把类数组变成真的数组
	const list = Array.from(lis);
	list.push('aaa');
	console.log(list);
	
	const demo = function(){
		console.log(arguments);
		console.log(arguments.push);
		const arr = Array.from(arguments);
		arr.push(222);
		console.log(arr)
	}
	demo(100,200,300);
</script>
